package com.dailyblue.java.project.bookstore.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;

import java.io.Serializable;

@Data
public class Book implements Serializable {
    @TableId(type = IdType.AUTO)
    private String id;
    private String categoryId; // 分类ID
    private String name;
    private String author;
    private String publisher;
    private Double price;
    private String imageName;
    private String description;
    private String createTime;
    private String updateTime;
    private Integer state;
    @TableLogic(value = "0",delval = "1")
    private Integer isDeleted;

}
